<?php
class Item extends AppModel {
	var $name = "Item";
	var $belongsTo = array(
		'Supplier' => array(
			'className' => 'Supplier',
			'foreignKey' => 'supplier_id'
		)
	);

	var $validate = array(
			'title' => array('rule' => 'notEmpty'), 
			'url' => array('rule' => 'notEmpty')
		);
}
?>
